import sys
from PySide2.QtWidgets import QApplication
from PySide2.QtGui import QIcon

from mainwindow import MainWindow

if __name__ == "__main__":
    app = QApplication(sys.argv)
    app.setWindowIcon(QIcon('./Source/app.png'))
    mainWindow = MainWindow()
    desktop = QApplication.desktop()
    mainWindow.resize(desktop.width()*0.8, desktop.height()*0.8)
    mainWindow.setWindowTitle('自动测试')
    mainWindow.show()
    sys.exit(app.exec_())

